<!DOCTYPE html>
<script src="../resources/js-test.js"></script>
<script>
description("Test that NETWORK_NO_SOURCE is immutable");

shouldBe("HTMLMediaElement.NETWORK_NO_SOURCE", "3");
shouldBe("HTMLMediaElement.prototype.NETWORK_NO_SOURCE", "3");

var element = document.createElement("audio");

shouldBe("element.NETWORK_NO_SOURCE", "3");

HTMLMediaElement.NETWORK_NO_SOURCE = 13;
HTMLMediaElement.prototype.NETWORK_NO_SOURCE = 14;
element.NETWORK_NO_SOURCE = 15;

shouldBe("HTMLMediaElement.NETWORK_NO_SOURCE", "3");
shouldBe("HTMLAudioElement.prototype.NETWORK_NO_SOURCE", "3");
shouldBe("element.NETWORK_NO_SOURCE", "3");
</script>
